projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fd42a4
)
(update_tool_bar): Redisplay toolbar also when only
author
Kim F. Storm
<storm@cua.dk>
Tue, 22 Aug 2006 21:32:04 +0000
(21:32 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Tue, 22 Aug 2006 21:32:04 +0000
(21:32 +0000)
number of items changes.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 9911f47c2a4243a9bae7507a4c8c9be06f2f32e4..640f7006dd14dfe2fa27325a2f15b503410da156 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-9391,7
+9391,8
@@
update_tool_bar (f, save_match_data)
&new_n_tool_bar);
/* Redisplay the tool-bar if we changed it. */
- if (NILP (Fequal (new_tool_bar, f->tool_bar_items)))
+ if (new_n_tool_bar != f->n_tool_bar_items
+ || NILP (Fequal (new_tool_bar, f->tool_bar_items)))
{
/* Redisplay that happens asynchronously due to an expose event
may access f->tool_bar_items. Make sure we update both